//
//  SFStatus.swift
//  SFWeiboPro
//
//  Created by happy on 2017/9/12.
//  Copyright © 2017年 happy. All rights reserved.
//

import UIKit
import YYModel

//微博数据模型
class SFStatus: NSObject {
    
    ///微博id
    var id: Int64 = 0
    ///微博内容
    var text: String?
    ///转发数
    var reposts_count: Int = 0
    
    /// 评论数
    var comments_count: Int = 0
    
    /// 点赞数
    var attitudes_count: Int = 0
    ///用户
    var user: SFUser?
    
    /// 图片数组
    var pic_urls: [SFStatusPicture]?
    
    
    override var description: String{
        return yy_modelDescription()
    }
    
    class func modelContainerPropertyGenericClass() -> [String: AnyClass] {
        
        return ["pic_urls": SFStatusPicture.self]
        
    }
    
}
